/**
 * 路由配置（方便本地打包，使用了HashRouter）;
 * tips:开发环境下面使用了browserHistory，打包上线的时候需要服务器进行配置;
 *BrowserRouter*/
import React from 'react';
import {HashRouter as Router, Switch, Route} from 'react-router-dom';
import SiderDemo from '../component/basicStyle'
import Login from '../component/login/login.jsx'
import BigScreen from '../component/bigScreen/bigSreen.jsx'
import AuthRoute from './authroute.jsx'


const Routes = () => (
  <Router>
    <div className="wrapper" style={{width:"100%", height:"100%"}}>
      {/* <AuthRoute></AuthRoute> */}
      <Switch>
        <Route path='/login' component={Login}/>
        <Route path='/bigScreen' component={BigScreen}/> 
        <Route path='/' component={SiderDemo}/>
        <Route component={SiderDemo}></Route>
      </Switch>
    </div>
  </Router>
);
export default Routes;